from django.db import models

# Create your models here.


class wechat_user(models.Model):
    openid     = models.CharField(max_length=200, primary_key=True);
    province   = models.CharField(max_length=20)
    headimgurl = models.CharField(max_length=512)
    language   = models.CharField(max_length=20)
    city       = models.CharField(max_length=20)
    sex        = models.CharField(max_length=2)
    nickname   = models.CharField(max_length=128)